func golang.org/x/text/language.regionGroupDist
3 uses
golang.org/x/text/language (current package)
match.go#L565: _, sameGroup := regionGroupDist(m.pinnedRegion, have.maxRegion, have.maxScript, m.want.LangID)
match.go#L622: regGroupDist, sameGroup := regionGroupDist(have.maxRegion, maxRegion, maxScript, tag.LangID)
match.go#L673: func regionGroupDist(a, b language.Region, script language.Script, lang language.Language) (dist uint8, same bool) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)